home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 120
/
Vol 120.iso
/
games
/
bounce_c.swf
/
scripts
/
DefineSprite_220
/
frame_21
/
DoAction.as
Wrap
Text File
|
2010-11-09
|
1KB
|
42 lines
if(_root.totalScore > _root.score_level1)
{
crushRank.gotoAndStop("r_m");
crushRating.gotoAndStop("r_m");
}
else if(_root.totalScore > _root.score_level2)
{
crushRank.gotoAndStop("r_a");
crushRating.gotoAndStop("r_a");
}
else if(_root.totalScore > _root.score_level3)
{
crushRank.gotoAndStop("r_b");
crushRating.gotoAndStop("r_b");
}
else if(_root.totalScore > _root.score_level4)
{
crushRank.gotoAndStop("r_c");
crushRating.gotoAndStop("r_c");
}
else if(_root.totalScore > _root.score_level5)
{
crushRank.gotoAndStop("r_d");
crushRating.gotoAndStop("r_d");
}
else if(_root.totalScore > _root.score_level6)
{
crushRank.gotoAndStop("r_e");
crushRating.gotoAndStop("r_e");
}
else
{
crushRank.gotoAndStop("r_f");
crushRating.gotoAndStop("r_f");
}
if(_root.totalScore > _root["stage_score" + _root.currentLevel])
{
_root["stage_score" + _root.currentLevel] = _root.totalScore;
}
_root.local_data.data["stage_score" + _root.currentLevel] = _root["stage_score" + _root.currentLevel];
_root.local_data.flush();